home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
sider.zip
/
SCRN_HLP.LIB
< prev
next >
Wrap
Text File
|
1993-06-16
|
2KB
|
45 lines
{*************************************************************************}
procedure vertln (col,row,occ,fig : integer); {draw a vertical line }
var i : integer; {starting at col,row }
begin {of length = occ and }
for i := row to (row + occ) do {with ascii character }
begin {no. defined by fig }
gotoxy(col,i);write(chr(fig));
end;
end;
{*************************************************************************}
procedure horzln (col,row,occ,fig : integer); {draw a horizontal line}
var i : integer; { - parameters same as }
begin {above }
for i := col to (col + occ) do
begin
gotoxy(i,row);write(chr(fig));
end;
end;
{*************************************************************************}
procedure txt (num : integer); {change text color where the following}
begin {results on a MONO display: }
textcolor(num); { No. Text }
end; { ------ ------------------------ }
{ 1 dim underline text }
{ 3 dim text }
{ 9 normal underlined }
{ 15 normal text }
{ 17 dim blink underlined }
{ 19 dim blinking text }
{ 25 normal blink underlined }
{ 27 normal blinking text }
{*************************************************************************}
procedure clr_area(ulc,ulr,lrc,lrr,lines,color: byte);
begin {create window and scroll lines out }
r.ch := ulr-1; {of view to clear the defined area in }
r.cl := ulc-1; {color of choice where 7=normal }
r.dh := lrr-1;
r.dl := lrc-1;
r.ah := $06;
r.al := lines;
r.bh := color;
intr($10,r);
end;
{*************************************************************************}